package com.jxdinfo.hussar.cloud.module.example.dljc.basketdatahistory.model;

import com.jxdinfo.hussar.platform.core.base.entity.BaseEntity;
import org.apache.ibatis.type.Alias;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * 吊篮历史数据实体类
 */
@Alias("dljc.basketdatahistory.BasketDataHistory")
@TableName("basket_data_history")
public class BasketDataHistory implements BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id主键
     */
    @TableId("ID")
    private String id;

    /**
     * 吊篮id
     */
    @TableField("UNLOAD_ID")
    private String unloadId;

    /**
     * 吊篮名称
     */
    @TableField("UNLOAD_NAME")
    private String unloadName;

    /**
     * 检测点id
     */
    @TableField("POINT_ID")
    private String pointId;

    /**
     * 检测点名称
     */
    @TableField("POINT_NAME")
    private String pointName;

    /**
     * 设备状态，0在线，1设备故障，2离线
     */
    @TableField("DEVICE_STATUS")
    private Integer deviceStatus;

    /**
     * 数据状态，0正常，1预警，2报警
     */
    @TableField("DATA_STATUS")
    private Integer dataStatus;

    /**
     * 检测项id
     */
    @TableField("CHECK_ITEM_ID")
    private String checkItemId;

    /**
     * 检测项名称
     */
    @TableField("CHECK_ITEM_NAME")
    private String checkItemName;

    /**
     * 检测项单位
     */
    @TableField("CHECK_ITEM_UNIT")
    private String checkItemUnit;

    /**
     * 测量值
     */
    @TableField("MEASURE_VALUE")
    private Double measureValue;

    /**
     * 单次变化值
     */
    @TableField("SINGLE_MEASURE_VALUE")
    private Double singleMeasureValue;

    /**
     * 累计变化值
     */
    @TableField("TOTAL_MEASURE_VALUE")
    private Double totalMeasureValue;

    /**
     * 数据采集时间
     */
    @TableField("COLLECTION_TIME")
    private LocalDateTime collectionTime;

    /**
     * 项目编号
     */
    @TableField("TY_PROJECT_CODE")
    private String tyProjectCode;

    /**
     * 创建时间
     */
    @TableField("TY_CREATE_TIME")
    private LocalDateTime tyCreateTime;

    /**
     * 创建人id
     */
    @TableField("TY_CREATE_USERID")
    private String tyCreateUserid;

    /**
     * 创建人
     */
    @TableField("TY_CREATE_USER_NAME")
    private String tyCreateUserName;

    /**
     * 更新时间
     */
    @TableField("TY_LAST_UPDATE_TIME")
    private LocalDateTime tyLastUpdateTime;

    /**
     * 更新人id
     */
    @TableField("TY_LAST_UPDATE_USERID")
    private String tyLastUpdateUserid;

    /**
     * 更新人
     */
    @TableField("TY_LAST_UPDATE_USER_NAME")
    private String tyLastUpdateUserName;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUnloadId() {
        return unloadId;
    }

    public void setUnloadId(String unloadId) {
        this.unloadId = unloadId;
    }

    public String getUnloadName() {
        return unloadName;
    }

    public void setUnloadName(String unloadName) {
        this.unloadName = unloadName;
    }

    public String getPointId() {
        return pointId;
    }

    public void setPointId(String pointId) {
        this.pointId = pointId;
    }

    public String getPointName() {
        return pointName;
    }

    public void setPointName(String pointName) {
        this.pointName = pointName;
    }

    public Integer getDeviceStatus() {
        return deviceStatus;
    }

    public void setDeviceStatus(Integer deviceStatus) {
        this.deviceStatus = deviceStatus;
    }

    public Integer getDataStatus() {
        return dataStatus;
    }

    public void setDataStatus(Integer dataStatus) {
        this.dataStatus = dataStatus;
    }

    public String getCheckItemId() {
        return checkItemId;
    }

    public void setCheckItemId(String checkItemId) {
        this.checkItemId = checkItemId;
    }

    public String getCheckItemName() {
        return checkItemName;
    }

    public void setCheckItemName(String checkItemName) {
        this.checkItemName = checkItemName;
    }

    public String getCheckItemUnit() {
        return checkItemUnit;
    }

    public void setCheckItemUnit(String checkItemUnit) {
        this.checkItemUnit = checkItemUnit;
    }

    public Double getMeasureValue() {
        return measureValue;
    }

    public void setMeasureValue(Double measureValue) {
        this.measureValue = measureValue;
    }

    public Double getSingleMeasureValue() {
        return singleMeasureValue;
    }

    public void setSingleMeasureValue(Double singleMeasureValue) {
        this.singleMeasureValue = singleMeasureValue;
    }

    public Double getTotalMeasureValue() {
        return totalMeasureValue;
    }

    public void setTotalMeasureValue(Double totalMeasureValue) {
        this.totalMeasureValue = totalMeasureValue;
    }

    public LocalDateTime getCollectionTime() {
        return collectionTime;
    }

    public void setCollectionTime(LocalDateTime collectionTime) {
        this.collectionTime = collectionTime;
    }

    public String getTyProjectCode() {
        return tyProjectCode;
    }

    public void setTyProjectCode(String tyProjectCode) {
        this.tyProjectCode = tyProjectCode;
    }

    public LocalDateTime getTyCreateTime() {
        return tyCreateTime;
    }

    public void setTyCreateTime(LocalDateTime tyCreateTime) {
        this.tyCreateTime = tyCreateTime;
    }

    public String getTyCreateUserid() {
        return tyCreateUserid;
    }

    public void setTyCreateUserid(String tyCreateUserid) {
        this.tyCreateUserid = tyCreateUserid;
    }

    public String getTyCreateUserName() {
        return tyCreateUserName;
    }

    public void setTyCreateUserName(String tyCreateUserName) {
        this.tyCreateUserName = tyCreateUserName;
    }

    public LocalDateTime getTyLastUpdateTime() {
        return tyLastUpdateTime;
    }

    public void setTyLastUpdateTime(LocalDateTime tyLastUpdateTime) {
        this.tyLastUpdateTime = tyLastUpdateTime;
    }

    public String getTyLastUpdateUserid() {
        return tyLastUpdateUserid;
    }

    public void setTyLastUpdateUserid(String tyLastUpdateUserid) {
        this.tyLastUpdateUserid = tyLastUpdateUserid;
    }

    public String getTyLastUpdateUserName() {
        return tyLastUpdateUserName;
    }

    public void setTyLastUpdateUserName(String tyLastUpdateUserName) {
        this.tyLastUpdateUserName = tyLastUpdateUserName;
    }

    @Override
    public String toString() {
        return "basketDataHistory{" + "id=" + id + ", unloadId=" + unloadId + ", unloadName=" + unloadName + ", pointId=" + pointId + ", pointName=" + pointName + ", deviceStatus=" + deviceStatus + ", dataStatus=" + dataStatus + ", checkItemId=" + checkItemId + ", checkItemName=" + checkItemName + ", checkItemUnit=" + checkItemUnit + ", measureValue=" + measureValue + ", singleMeasureValue=" + singleMeasureValue + ", totalMeasureValue=" + totalMeasureValue + ", collectionTime=" + collectionTime + ", tyProjectCode=" + tyProjectCode + ", tyCreateTime=" + tyCreateTime + ", tyCreateUserid=" + tyCreateUserid + ", tyCreateUserName=" + tyCreateUserName + ", tyLastUpdateTime=" + tyLastUpdateTime + ", tyLastUpdateUserid=" + tyLastUpdateUserid + ", tyLastUpdateUserName=" + tyLastUpdateUserName + "}";
    }
}
